package com.health.db.service.sm.impl;

import java.util.List;

import com.health.db.dao.sm.IGoodsListDao;
import com.health.db.model.GoodsList;
import com.health.db.model.GoodsListCouse;
import com.health.db.model.GoodsListExample;
import com.health.db.model.GoodsListTemp;
import com.health.db.service.sm.IGoodsListService;

public class GoodsListServiceImpl implements IGoodsListService {

	private IGoodsListDao goodsListDao ;

	@Override
	public List<GoodsList> selectByExample(GoodsListExample example) {
		// TODO Auto-generated method stub
		return goodsListDao.selectByExample(example);
	}

	public IGoodsListDao getGoodsListDao() {
		return goodsListDao;
	}

	public void setGoodsListDao(IGoodsListDao goodsListDao) {
		this.goodsListDao = goodsListDao;
	}

	@Override
	public List<GoodsListTemp> selectBySimple(GoodsListExample example) {
		// TODO Auto-generated method stub
		return goodsListDao.selectBySimple(example);
	}
	@Override
	public List<GoodsListCouse> selectBySimpleCouse(GoodsListExample example){
		return goodsListDao.selectBySimpleCouse(example);
	}
}
